package com.sdy.hospitalguard.biz.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sdy.common.model.BizException;
import com.sdy.hospitalguard.biz.model.ApplyPost;
import com.sdy.mvc.service.BaseService;

/**
 * <p>
 * 健康打卡表 服务类
 * </p>
 *
 * @author zzq
 * @since 2020-05-08
 */
public interface ApplyPostService extends BaseService<ApplyPost> {

    /**
     * 用户健康打卡
     *
     * @param applyPost
     * @return
     */
    Boolean insertData(ApplyPost applyPost) throws BizException;

    /**
     * 更新用户健康打卡
     *
     * @param applyPost
     * @return
     */
    Boolean updateData(ApplyPost applyPost) throws BizException;

    Boolean createQRcode(Integer userId) throws BizException;

    /**
     * 检查人员身份
     *
     * @param userId
     * @return
     */
    Integer checkIdentity(Integer userId);


    /**
     * -----------------------------------PC---------------------
     */



}
